<template>
  <div id="app">
    <div id="header">
      <div id="nav" class="header" clearfix>
        <ul class="header-left">
          <li>
            <router-link tag="li" to="/"><a>系统首页</a></router-link>
          </li>
          <li>
            <router-link tag="li" to="/courselist"><a>基础课程</a></router-link>
          </li>
          <li>
            <router-link tag="li" to="/codinglist"><a>实战案例</a></router-link>
          </li>
          <li>
            <router-link tag="li" to="/wendalist"><a class="active">问答社区</a></router-link>
          </li>
          <li>
            <router-link tag="li" to="/articlelist"><a>手记</a></router-link>
          </li>
        </ul>
      </div>
    </div>
    <div class="sub-header" id="sub-nav">
      <div class="sub-container">
          <a class="wenda-logo" href="/wenda"><img src="../../../static/img/wenda/wenda-logo.png" alt=""></a>
          <div class="que-btn clearfix r">
              <a class="moco-btn moco-btn-green" target="_blank" href="#">提问</a>
          </div>
          <div class="search-warp clearfix">
              <div class="search-area" data-search="top-banner">
                <input class="search-input" placeholder="请输入你的问题" type="text" autocomplete="off">
              </div>
              <div class="showhide-search" data-show="no"><i class="el-icon-search"></i></div>
          </div>
      </div>
    </div>
    <div class="main">
      <div class="wenda clearfix">
        <div class="wdnav">
            <a href="#" class="active">热门回答</a>
            <a href="#">最新回答</a>
            <a href="#">等我回答</a>
            <a href="#">话题</a>
        </div>
        <div class="ques-list">
          <div class="item clearfix">
            <div class="item-num l">
              <a href="#" target="_blank" class="has-answer">
                <em>6</em>
                <span>回答</span>
              </a>
              <a href="#" target="_blank">
                <em>121</em>
                <span>浏览</span>
              </a>
            </div>
            <div class="que-con">
              <a href="#" class="que-title" target="_blank" title="想入门前端的小白 有大神可以给建议或指导吗">想入门前端的小白 有大神可以给建议或指导吗</a>
                <div class="label">
                  <img src="//img.mukewang.com/59e96f4f0001379302400240.jpg" title="Html5">
                  <a href="#" target="_blank">Html5</a>
                  <i class="el-icon-minus"></i>
                  <a href="#" target="_blank">CSS3</a>
                  <i class="el-icon-minus"></i>
                  <a href="#" target="_blank">前端工具</a>
                </div>
            </div>
            <div class="answer-url">
              <a href="#" target="_blank">我来回答</a>
            </div>
          </div>
          <div class="item clearfix">
            <div class="item-num l">
              <a href="#" class="has-answer" target="_blank">
                <em>140</em>
                <span>回答</span>
              </a>
              <a href="#" target="_blank">
                <em>44585</em>
                <span>浏览</span>
              </a>
            </div>
            <div class="que-con">
              <a href="#" class="que-title" target="_blank" title="【有奖问答】与大咖交流前端JS与框架开发，免费赢取前端图书（11.28-12.4）">【有奖问答】与大咖交流前端JS与框架开发，免费赢取前端图书（11.28-12.4）</a>
              <div class="label">
                <img src="//img.mukewang.com/59e96ed90001e4e702400240.jpg" title="AngularJS">
                <a href="#" target="_blank">AngularJS</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">Html/CSS</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">JavaScript</a>
              </div>
            </div>
            <div class="answer-url">
              <a href="#" target="_blank">我来回答</a>
            </div>
          </div>
          <div class="item clearfix">
            <div class="item-num l">
              <a href="#" class="has-finish" target="_blank">
                <em class="el-icon-check"></em>
                <span>316</span>
              </a>
              <a href="#" target="_blank">
                <em>67838</em>
                <span>浏览</span>
              </a>
            </div>
            <div class="que-con">
              <a href="#" class="que-title" target="_blank" title="各位猿或者媛，一般几点睡啊。有时忍住头痛看java到很晚，第二天就头痛一整天">各位猿或者媛，一般几点睡啊。有时忍住头痛看java到很晚，第二天就头痛一整天</a>
              <div class="label">
                <img src="//img.mukewang.com/59e96e7800018e5502400240.jpg" title="C++">
                <a href="#" target="_blank">C++</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">iOS</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">JAVA</a>
              </div>
            </div>
          </div>
          <div class="item clearfix">
            <div class="item-num l">
              <a href="#" class="has-answer" target="_blank">
                <em>199</em>
                <span>回答</span>
              </a>
              <a href="#" target="_blank">
                <em>29922</em>
                <span>浏览</span>
              </a>
            </div>
            <div class="que-con">
              <a href="#" class="que-title" target="_blank" title="java好学吗.??pp">java好学吗.??pp</a>
              <div class="label">
                <img src="//img.mukewang.com/59e9700900012e3602400240.jpg" title="JAVA">
                <a href="#" target="_blank">JAVA</a>
              </div>
            </div>
            <div class="answer-url">
              <a href="#" target="_blank">我来回答</a>
            </div>
          </div>
          <div class="item clearfix">
            <div class="item-num l">
              <a href="#" class="has-answer" target="_blank">
                <em>470</em>
                <span>回答</span>
              </a>
              <a href="#" target="_blank">
                <em>59626</em>
                <span>浏览</span>
              </a>
            </div>
            <div class="que-con">
              <a href="#" class="que-title" target="_blank" title="话说，大家想编程的最初初衷是什么">话说，大家想编程的最初初衷是什么</a>
              <div class="label">
                <img src="//img.mukewang.com/59e96e980001d29602400240.jpg" title="C">
                <a href="#" target="_blank">C</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">PHP</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">Python</a>
              </div>
            </div>
            <div class="answer-url">
              <a href="#" target="_blank">我来回答</a>
            </div>
          </div>
          <div class="item clearfix">
            <div class="item-num l">
              <a href="#" class="has-answer" target="_blank">
                <em>134</em>
                <span>回答</span>
              </a>
              <a href="#" target="_blank">
                <em>19224</em>
                <span>浏览</span>
              </a>
            </div>
            <div class="que-con">
              <a href="#" class="que-title" target="_blank" title="为啥要做程序员，初心是什么？">为啥要做程序员，初心是什么？</a>
              <div class="label">
                <img src="//img.mukewang.com/59e96f7a0001117402400240.jpg" title="Android">
                <a href="#" target="_blank">Android</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">JAVA</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">PHP</a>
              </div>
            </div>
            <div class="answer-url">
              <a href="#" target="_blank">我来回答</a>
            </div>
          </div>
          <div class="item clearfix">
            <div class="item-num l">
              <a href="#" class="has-answer" target="_blank">
                <em>50</em>
                <span>回答</span>
              </a>
              <a href="#" target="_blank">
                <em>17536</em>
                <span>浏览</span>
              </a>
            </div>
            <div class="que-con">
              <a href="#" class="que-title" target="_blank" title="遇见好答案---Python编程问答专场">遇见好答案---Python编程问答专场</a>
              <div class="label">
                <img src="//img.mukewang.com/59e96e980001d29602400240.jpg" title="C">
                <a href="#" target="_blank">C</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">JavaScript</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">Python</a>
              </div>
            </div>
            <div class="answer-url">
              <a href="#" target="_blank">我来回答</a>
            </div>
          </div>
          <div class="item clearfix">
            <div class="item-num l">
              <a href="#" class="has-answer" target="_blank">
                <em>102</em>
                <span>回答</span>
              </a>
              <a href="#" target="_blank">
                <em>17465</em>
                <span>浏览</span>
              </a>
            </div>
            <div class="que-con">
              <a href="#" class="que-title" target="_blank" title="我长得丑，我适合学编程吗？">我长得丑，我适合学编程吗？</a>
              <div class="label">
                <img src="//img.mukewang.com/59e96f7a0001117402400240.jpg" title="Android">
                <a href="#" target="_blank">Android</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">AngularJS</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">JavaScript</a>
              </div>
            </div>
            <div class="answer-url">
              <a href="#" target="_blank">我来回答</a>
            </div>
          </div>
          <div class="item clearfix">
            <div class="item-num l">
              <a href="#" class="has-answer" target="_blank">
                <em>156</em>
                <span>回答</span>
              </a>
              <a href="#" target="_blank">
                <em>19162</em>
                <span>浏览</span>
              </a>
            </div>
            <div class="que-con">
              <a href="#" class="que-title" target="_blank" title="程序员说的最多的一句话是什么？">程序员说的最多的一句话是什么？</a>
              <div class="label">
                <img src="//img.mukewang.com/59e9700900012e3602400240.jpg" title="JAVA">
                <a href="#" target="_blank">JAVA</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">JavaScript</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">Linux</a>
              </div>
            </div>
            <div class="answer-url">
              <a href="#" target="_blank">我来回答</a>
            </div>
          </div>
          <div class="item clearfix">
            <div class="item-num l">
              <a href="#" class="has-answer" target="_blank">
                <em>67</em>
                <span>回答</span>
              </a>
              <a href="#" target="_blank">
                <em>14860</em>
                <span>浏览</span>
              </a>
            </div>
            <div class="que-con">
              <a href="#" class="que-title" target="_blank" title="入门编程学什么语言好">入门编程学什么语言好</a>
              <div class="label">
                <img src="//img.mukewang.com/59e96f7a0001117402400240.jpg" title="Android">
                <a href="#" target="_blank">Android</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">AngularJS</a>
                <i class="el-icon-minus"></i>
                <a href="#" target="_blank">Bootstrap</a>
              </div>
            </div>
            <div class="answer-url">
              <a href="#" target="_blank">我来回答</a>
            </div>
          </div>
          <div class="item clearfix">
            <div class="item-num l">
              <a href="#" class="has-finish" target="_blank">
                <em class="el-icon-check"></em>
                <span>32</span>
              </a>
              <a href="#" target="_blank">
                <em>6676</em>
                <span>浏览</span>
              </a>
            </div>
            <div class="que-con">
              <a href="#" class="que-title" target="_blank" title="17岁学java   感觉玩心太重   学不进去  好难受">17岁学java   感觉玩心太重   学不进去  好难受</a>
              <div class="label">
                <img src="//img.mukewang.com/59e9700900012e3602400240.jpg" title="JAVA">
                <a href="#" target="_blank">JAVA</a>
              </div>
            </div>
          </div>
        </div>
        <div class="page">
          <span class="disabled_page">首页</span>
          <span class="disabled_page">上一页</span>
          <a href="javascript:void(0)" class="active text-page-tag">1</a>
          <a class="text-page-tag" href="#">2</a>
          <a class="text-page-tag" href="#">3</a>
          <a class="text-page-tag" href="#">4</a>
          <a class="text-page-tag" href="#">5</a>
          <a class="text-page-tag" href="#">6</a>
          <a class="text-page-tag" href="#">7</a>
          <a href="#">下一页</a>
          <a href="#">尾页</a></div>
      </div>
    </div>
    <div id="footer" data="course,list">
      <div class="waper">
        <div class="footerwaper clearfix">
          <div class="followus r">
            <a class="followus-weixin" href="javascript:;" target="_blank" title="微信">
              <div class="flw-weixin-box"></div>
            </a>
            <a class="followus-weibo" href="http://weibo.com/u/3306361973" target="_blank" title="新浪微博"></a>
            <a class="followus-qzone" href="http://user.qzone.qq.com/1059809142/" target="_blank" title="QQ空间"></a>
          </div>
          <div class="footer_intro l">
            <div class="footer_link">
              <ul>
                <li><a href="//www.imooc.com/" target="_blank">网站首页</a></li>
                <li><a href="/about/cooperate" target="_blank" title="企业合作">企业合作</a></li>
                <li><a href="/about/job" target="_blank">人才招聘</a></li>
                <li> <a href="/about/contact" target="_blank">联系我们</a></li>
                <li> <a href="/about/recruit" target="_blank">讲师招募</a></li>
                <li> <a href="/about/faq" target="_blank">常见问题</a></li>
                <li> <a href="/user/feedback" target="_blank">意见反馈</a></li>
                <li><a href="http://daxue.imooc.com/" target="_blank">慕课大学</a></li>
                <li> <a href="/about/friendly" target="_blank">友情链接</a></li>
              </ul>
            </div>
            <p>Copyright © 2018 imooc.com All Rights Reserved | 京ICP备 12003892号-11 </p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
  #nav {
    padding: 0 15px;
  }
  ol, ul {
    list-style: none;
  }
  address, caption, cite, code, dfn, em, strong, th, var, optgroup {
    font-style: normal;
    font-weight: 400;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: 400;
  }
  :link, :visited, ins {
    text-decoration: none;
  }
  a:active, a:hover {
    color: #ec1500;
  }
  a, button, input {
      outline: 0;
  }
  fieldset, img {
    border: 0;
  }
  .search-area {
    width: 140px !important;
  }
  .l {
    float: left;
  }
  .r {
    float: right;
  }
  #header{
    background: #07111b;
    color: #fff;
    .header{
      width: 1088px;
      height: 40px;
      margin: 0 auto;
      font-size: 12px;
      .header-left{
        li{
          float: left;
          margin-right: 12px;
          transition: .3s;
          margin: 0;
          a{
            display: block;
            height: 40px;
            line-height: 40px;
            color: rgba(255,255,255,.6);
            text-decoration: none;
            padding: 0 15px !important;
            position: relative;
          }
          .active {
              color: #fff;
            }
          a:hover{
            color: #fff;
            background: rgba(255,255,255,.1);
          }
        } 
      }
    } 
  }
  .sub-header {
    width: 100%;
    background: #fff;
    box-shadow: 0 8px 16px 0 rgba(28,31,33,.1);
    .que-btn {
      margin: 16px 0 0 16px;
    }
    .search-warp {
      float: right;
      width: 480px;
      height: 36px;
      background: #f3f5f6;
      border-radius: 8px;
      padding-right: 56px;
      margin: 16px 0 0 0;
      box-sizing: border-box;
      .search-area {
        width: 100% !important;
        height: 36px;
        background: #f3f5f6;
        font-size: 14px;
        color: #9199a1;
        padding: 0;
        margin: 0;
        border-radius: inherit;
        input.search-input {
          width: 100%;
          height: 36px;
          line-height: 20px;
          padding: 8px 16px;
          font-size: 14px;
          color: #9199a1;
          border-radius: inherit;
        }
      }
      .showhide-search {
        position: absolute;
        right: 0;
        top: 0;
        font-size: 24px;
        color: #9199a1;
        line-height: 24px;
        padding: 6px 16px;
        border-radius: 0;
      }
    }
  }
  .search-warp {
    margin-left: 10px !important;
    position: relative;
    .showhide-search {
      width: 20px;
      height: 24px;
      text-align: right;
      display: inline-block;
      bottom: 24px;
      i {
        display: block;
        height: 24px;
        color: #757a7e;
        cursor: pointer;
        font-size: 20px;
        line-height: 24px;
        width: 20px;
      }
    }
  }
  .search-area {
    float: right;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,.4);
    -webkit-transition: width .3s;
    -moz-transition: width .3s;
    transition: width .3s;
    .search-input {
      float: left;
      border: 0;
      transition: background-color .3s;
      background-color: transparent;
      box-sizing: border-box;
    }
  }
  .sub-header .sub-container {
    max-width: 1088px;
    margin: 0 auto;
  }
  .moco-btn-green {
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    -weibkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
    background-color: #1fad4e;
    border-color: #1fad4e;
    opacity: 1;
  }
  .moco-btn {
    position: relative;
    display: inline-block;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    box-sizing: border-box;
    background-image: none;
    -webkit-appearance: none;
    white-space: nowrap;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    padding: 7px 16px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 18px;
  }
  .moco-btn-green:link, .moco-btn-green:visited {
    color: #fff;
  }
  .moco-btn-green:hover, .moco-btn-green:focus, .moco-btn-green.focus, .moco-btn-green:active, .moco-btn-green.active {
    color: #fff;
    border-color: #17823b;
    background: #17823b;
    opacity: 1;
  }
  .main {
    padding-top: 0 !important;
    margin-top: 24px;
    min-height: 750px;
    padding: 20px 0;
  } 
  .wenda {
    width: 1088px;
    margin: 0 auto;
  }
  .wdnav {
    margin-bottom: 16px;
    a.active {
      background: #9199a1;
      border-radius: 12px;
      color: #fff;
    }
    a {
      padding: 4px 12px;
      font-size: 12px;
      color: #545c63;
      line-height: 16px;
      margin-right: 12px;
      text-align: center;
    }
  }
  .ques-list {
    background: #fff;
    padding: 28px 50px;
    box-shadow: 0 4px 8px 0 rgba(28,31,33,.1);
    border-radius: 12px;
    .item:first-child {
      padding-top: 0;
    }
    .item:last-child {
      border-bottom: 0;
      padding-bottom: 0;
    }
    .item {
      position: relative;
      border-bottom: 1px solid rgba(28,31,33,.1);
      padding: 16px 0;
      .item-num a.has-answer {
        color: #1fad4e;
      }
      .item-num a.has-finish {
        background: rgba(31,173,78,.1);
        border-radius: 4px;
        color: #17823b;
      }
      .item-num a {
        display: inline-block;
        width: 60px;
        padding: 8px 0;
        margin-right: 8px;
        color: #9199a1;
        text-align: center;
        em {
          line-height: 16px;
          font-weight: 700;
          margin-bottom: 4px;
        }
        span {
          line-height: 12px;
        }
      }
      .item-num a:hover {
        color: #1fad4e;
      }
      .que-con {
        margin-left: 180px;
        .que-title {
          font-size: 16px;
          color: #07111b;
          line-height: 24px;
          display: block;
          margin-bottom: 4px;
          font-weight: 700;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
        .que-title:hover {
          color: #1fad4e;
        }
        .label {
          display: block;
          color: #9199a1;
          line-height: 16px;
          img {
            width: 16px;
            height: 16px;
            border-radius: 8px;
            vertical-align: middle;
            margin-right: 4px;
          }
          a {
            display: inline-block;
            font-size: 12px;
            color: #9199a1;
          }
          a:hover {
            color: #545c63;
          }
        }
      }
      .answer-url {
        position: absolute;
        right: 0;
        margin-right: 8px;
        padding-right: 8px;
        bottom: 16px;
        a {
          color: #0f5727;
          font-size: 12px;
        }
        a:hover {
          color: #1fad4e;
        }
      }
    } 
  }
  .ques-list .item .item-num a em, .ques-list .item .item-num a span {
    display: block;
  }
  .page {
    margin: 25px 0 auto;
    overflow: hidden;
    clear: both;
    text-align: center;
    span, .page-disabled {
      display: inline-block;
      padding: 0 4px;
      min-width: 24px;
      height: 32px;
      line-height: 32px;
      font-size: 14px;
      color: #c8cdd2;
      text-align: center;
    }
    a.text-page-tag.active {
      background: #4d555d;
      color: #fff;
    }
    a.text-page-tag:hover {
      background: #d9dde1;
      color: #4d555d;
      text-decoration: none;
    }
    a {
      display: inline-block;
      margin: 0 8px;
      padding: 0 4px;
      min-width: 24px;
      line-height: 32px;
      font-size: 14px;
      color: #4d555d;
      text-align: center;
      border-radius: 16px;
      -webkit-transition: border-color .2s;
      -moz-transition: border-color .2s;
      transition: border-color .2s;
    }
  }
  #footer {
    background: #1c1f21;
    border-top: 1px solid #e2e4e6;
    font-size: 12px;
    color: #787d82;
    height: 45px;
    padding: 27px 0;
    min-width: 620px;
    .waper {
      width: auto;
      max-width: 1200px;
    }
    .followus {
      margin-right: 34px;
      padding-left: 30px;
    }
    .footer_intro {
      padding-left: 40px;
    }
    .footer_link {
      margin-bottom: 4px;
      line-height: 1.8;
      li {
        margin-right: 30px;
        text-align: center;
        float: left;
      }
    }
    p {
      line-height: 1.7;
    }
  }
  .waper {
    width: 1200px;
    margin: 0 auto;
  }
  .followus .followus-weixin {
    background-position: 0 -279px;
  }
  .followus .followus-weibo {
    background-position: 0 -321px;
  }
  .followus .followus-qzone {
    background-position: 0 -363px;
  }
  .followus a {
    float: left;
    position: relative;
    width: 32px;
    height: 32px;
    background-image: url(../../../static/img/footer-sprite.png?t=2);
    background-repeat: no-repeat;
    margin: 3px 6px 0;
    opacity: .5;
    -webkit-transition: opacity .2s;
    -moz-transition: opacity .2s;
    transition: opacity .2s;
    z-index: 2;
  }
  .footer_link ul {
    overflow: hidden;
    margin-top: -1px;
  }
  .footer_link a:active, .footer_link a:link, .footer_link a:visited {
    color: #c8cdd2;
  }
  .footer_link a:hover {
    color: #fff;
}
</style>


